﻿<basehostview:BaseHostView xmlns:my="clr-namespace:CharacterCreation.Controls"  x:Class="CharacterCreation.Views.HomeView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:basehostview="clr-namespace:CharacterCreation.Views.Contracts"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot">
        <StackPanel Width="160" Margin="5" HorizontalAlignment="Right">
            <TextBlock Text="Documents" Margin="5" FontFamily="Georgia" Foreground="AliceBlue" FontSize="15" />
            <ListBox ItemsSource="{Binding Documents}" Height="120" SelectedItem="{Binding SelectedDocument, Mode=TwoWay}" />
            
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Button Grid.Column="0" Content="Delete" Height="24"  />
                <Button Grid.Column="1" Content="Import" Height="24" Command="{Binding ImportCommand}" />
            </Grid>
        </StackPanel>
    </Grid>
</basehostview:BaseHostView>
